const express = require('express');
const router = express.Router();
const routerHandle = require('../router_handle/user')
const expressJoi = require('@escook/express-joi');
const { reg_login_schema } = require('../schema/user');
router.post('/reguser', expressJoi(reg_login_schema), routerHandle.regRouter)

router.post('/login', expressJoi(reg_login_schema), routerHandle.loginRouter)

module.exports = router;